<!DOCTYPE html>
<!-- 是一个特定的表格隔行变色 -->
<html>
<head>
<meta charset="UTF-8">
<title>Insert title here</title>
<script type="text/javascript" src="jquery.min.js"></script>
<script type="text/javascript">
	$(document).ready(function() {
      $("tr:even").css("background","#bbffaa");
	})
</script>
</head>
<body>
<table border="1" width="200" heigth="200">
	<tr>
		<td>1</td>
		<td>1</td>
	</tr>
	<tr>
		<td>2</td>
		<td>2</td>
	</tr>
	<tr>
		<td>3</td>
		<td>3</td>
	</tr>
	<tr>
		<td>4</td>
		<td>4</td>
	</tr>
	<tr>
		<td>5</td>
		<td>5</td>
	</tr>
	</table>
</body>
</html>